package com.example.steeringwheelseekbar

import android.content.Context
import android.util.AttributeSet
import android.view.View

/**
 * 自定义SeekBar 背景部分
 */
class SeekBarBackgroundView : View {
    constructor(context: Context) : super(context)
    constructor(context: Context, attrs: AttributeSet) : super(context, attrs)

    override fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int) {
        super.onLayout(changed, left - 10, top, right + 10, bottom)
    }
}